package field_method06;

public class SonLikedo implements DadLikeDo,MonLikeDo {

    public void dance() {
        System.out.println("儿子跳跳跳跳");
    }

    public void sing() {
        System.out.println("儿子唱歌唱歌唱歌");
    }

    public void basketball() {
        System.out.println("儿子打篮球打篮球打篮球");
    }

    public void ride() {
        System.out.println("儿子骑马骑马骑马");
    }

    public static void main(String[] args) {
        SonLikedo sld = new SonLikedo();
        sld.dance();
        sld.sing();
        sld.basketball();
        sld.ride();
    }

}
